﻿<%if not in_sdcms then response.write("template load fail"):response.end() end if%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{seokey}" />
<meta name="Description" content="{seodesc}" />
<title>{sdcms.iif(sdcms.strlen(seotitle)>0,seotitle,classname)}{if page>1}_第{page}页{/if}_{sdcms[webname]} - powered by sdcms</title>
<link href="{webroot}lib/css/base.css" rel="stylesheet" type="text/css" />
<link href="{webroot}theme/default/css/public.css" rel="stylesheet" type="text/css" />
<link href="{webroot}theme/default/css/artlist.css" rel="stylesheet" type="text/css" />
<link href="{webroot}lib/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css" rel="stylesheet" type="text/css" />
<script>var webroot="{webroot}";</script>
<script src="{webroot}lib/js/jquery.js"></script>
<script src="{webroot}lib/js/jquery-migrate-1.1.0.min.js"></script>
<script src="{webroot}lib/tips/jquery.tips.js"></script>
<script src="{webroot}lib/js/base.js"></script>
<script src="{webroot}lib/js/mobile.js"></script>
<script src="{webroot}lib/validator/jquery.validator.js"></script>
<script src="{webroot}lib/validator/zh_CN.js"></script>
<script src="{webroot}theme/default/js/sdcms.js"></script>
<script src="{webroot}lib/ueditor/third-party/SyntaxHighlighter/shCore.js"></script>
<script>$(function(){SyntaxHighlighter.highlight();})</script>
</head>

<body>
    {sdcms:include("../../sdcms_head.asp")}
    
    <div id="position">您所在的位置：<a href="{webroot}">首页</a>{sdcms.getpostion(parentid," > ")}</div>
    <div class="w980 mt10 mc" id="container">
        <div class="left">
            <div class="w610 b">
                <div class="title">{classname}</div>
                <div class="pagecontent">
                {sdcms:rs table="sd_model_page" top="1" where="classid=[classid]"}
                    {sdcms.get_content_split($rs[content],htmlrule)}
                {/sdcms:rs}
                </div>
                <div class="list_page">{get_content_page}</div>
            </div>
        </div>
        <div class="right">
            <div class="b">
                <div class="subject">栏目类别</div>
                <ul class="topcate">
                    {sdcms:rp table="sd_category" top="0" where="followid=[classid]" order="ordnum,cateid"}
                    {rp:eof}{if followid=0}<li class="hover"><a href="{sdcms.getcateurl(classid)}">{classname}</a></dt>{else}{sdcms:rs table="sd_category" top="0" where="followid=[followid]" order="ordnum,cateid"}
                    {rs:eof}<li>没有资料</li>{/rs:eof}
                    <li {if $rs[cateid]=classid} class="hover"{/if}><a href="{$rs[link]}" title="{$rs[catename]}">{$rs[catename]}</a></li>
                    {/sdcms:rs}{/if}{/rp:eof}
                    <li {if $rp[cateid]=classid} class="hover"{/if}><a href="{$rp[link]}" title="{$rp[catename]}">{$rp[catename]}</a></li>
                    {/sdcms:rp}  
                </ul>
            </div>
        </div>
    </div>
    {sdcms:include("../../sdcms_foot.asp")}